<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width">
    <title>预约成功 -  五四宪法历史资料陈列馆</title>
    <link rel="stylesheet" href="/static/css/style.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/common.js"></script>
</head>
<body>
<div class="main">
    <div class="top">
        <a class="back" href="javascript:history.back(-1)"><img src="static/image/left.png" alt="">返回</a>
    </div>
    <div class="order_success container">
<!--        <div class="code">-->
<!--            <img src="qrcode" alt="">-->
<!--            <p>扫此二维码进场馆参观</p>-->
<!--            <span>注：预约未参观将限制一周内不得再次预约</span>-->
<!--        </div>-->
        <div class="detail">
            <div>
                <img src="{$active.active.image}" alt="" class="pic">
                <p class="title">{$active.active.title}</p>

                <span class="time">活动日期：{$active.active.day}——{$active.active.endday}</span>
                <span class="time">活动时间： {$active.active.timer}</span>
                <span>人数：{$active.views}人</span>

                <span>预约人：{$active.name}</span>

                <span>预约日期：{$active.day}</span>

<!--                <img class="fenduan" src="static/image/fenduan.png" alt="">-->

<!--                <img class="fenduan" src="/static/image/fenduan.png" alt="">-->

<!--                <div class="notice">-->
<!--                    <p>参观须知</p>-->
<!--                     <span>1、请自驾车前来参观的观众，自行寻找车位，本馆不提供停车场。北山街馆区边西湖山庄有正规停车场，栖霞岭馆区边，栖霞岭路有少量地面车位。</span>-->
<!--                     <span>2、请团队预约的观众携带单位介绍信，否则将不予安排讲解。介绍信模板可在预约平台-【我的预约】中下载。</span>-->
<!--                     <span>3、本馆实行讲解预约制，请按照预约场次准时到场，否则出现无法安排讲解人员或入馆参观的情况，请予以谅解。</span>-->
<!--                     <span>4、本馆位于西湖景区，请合理安排出行时间，注意交通管制措施信息（单双号限行），外地观众请留意杭州限行规定。</span>-->
<!--                     <span>5、建议绿色出行。前往北山街馆区，您可搭乘公交7路、27路、117路等至新新饭店站。前往栖霞岭馆区，您可搭乘7路、27路、117路等至岳坟站。</span>-->
<!--                    <span><a href="http://kis8.com/参观介绍信.docx" style="color: #0a6aa1">6、介绍信下载</a></span>-->
<!--                </div>-->


            </div>
        </div>
        {if $active.del !=1}
            <div class="button">
                <a href="javascript:;"  onclick="del('{$active.id}')">取消</a>
            </div>
        {/if}
        <input type="hidden" value="{$Think.session.mobile}" class="session_mobile">
    </div>
</div>
<script>
    // alert(document.referrer);
    function del(id){
        // alert(id);
        var mobile =  $(".session_mobile").val();
            $.ajax({
                type: 'POST',
                url: 'del_active',
                data: {"id":id},
                dataType:'json',
                success: function (result){
                    if(result.code == 1){
                        layer.alert(result.msg);
                        window.location.href="/my_active?mobile="+mobile;
                    }
                },
                error: function(result){
                    layer.alert(result.msg);
                },
            });
    }
    function edit(id,venue,day,explain,view){
        var url = "orderdetail?id="+id+"&venue="+venue+"&day="+day+"&explain="+explain+"&views="+view;
        location.href = url;
    }

</script>
</body>
</html>